/**
 * jims
 */
package com.jims.master.modules.finance.entity;

import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

/**
 * 结账类型Entity
 * @author 赵宁
 * @version 2017-03-30
 */
public class InpAcctMoney extends DataEntity<InpAcctMoney> {
	
	private static final long serialVersionUID = 1L;
	private String acctNo;		// 结账号
	private String acctId;		// 结账主表ID
	private String moneyType;		// 金额类型
	private Double incomeAmount;		// 金额
	private Double refundAmount;		// 退费金额
	private String orgId;		// 机构ID
	
	public InpAcctMoney() {
		super();
	}

	public InpAcctMoney(String id){
		super(id);
	}

	@Length(min=1, max=200, message="结账号长度必须介于 1 和 200 之间")
	public String getAcctNo() {
		return acctNo;
	}

	public void setAcctNo(String acctNo) {
		this.acctNo = acctNo;
	}
	
	@Length(min=0, max=64, message="结账主表ID长度必须介于 0 和 64 之间")
	public String getAcctId() {
		return acctId;
	}

	public void setAcctId(String acctId) {
		this.acctId = acctId;
	}
	
	@Length(min=1, max=1, message="金额类型长度必须介于 1 和 1 之间")
	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}
	
	public Double getIncomeAmount() {
		return incomeAmount;
	}

	public void setIncomeAmount(Double incomeAmount) {
		this.incomeAmount = incomeAmount;
	}
	
	public Double getRefundAmount() {
		return refundAmount;
	}

	public void setRefundAmount(Double refundAmount) {
		this.refundAmount = refundAmount;
	}
	
	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
}